package com.zbkj.crmeb.chant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_channel_partition_info")
@ApiModel("ChannelPartitionInfo对象")
public class ChannelPartitionInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("瓜分券id")
    private Integer partitionId;

    @ApiModelProperty("瓜分人数")
    private Integer partitionNumber;

    @ApiModelProperty("参与瓜分用户id")
    private String uids;

    @ApiModelProperty("是否满足人数")
    private Boolean status;

    @ApiModelProperty("剩余瓜分人数")
    private Integer lastPerson;

    @ApiModelProperty("拼手气瓜分剩余金额")
    private BigDecimal lastMoney;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
